package com.base.pig.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author yjh
 * @since 2022-03-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="WEvent对象", description="巡检流程详细信息表")
public class WEvent implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID主键")
    @TableId(value = "ID", type = IdType.AUTO)
    private BigDecimal id;

    @ApiModelProperty(value = "工单编号")
    @TableField("WORKNO")
    private String workno;

    @ApiModelProperty(value = "预期时间")
    @TableField("DUETIME")
    private String duetime;

    @ApiModelProperty(value = "紧急程度")
    @TableField("WORKLEVEL")
    private String worklevel;

    @ApiModelProperty(value = "工单类别")
    @TableField("CLASSIFICATION")
    private String classification;

    @ApiModelProperty(value = "处理人员")
    @TableField("HANDLER")
    private String handler;

    @ApiModelProperty(value = "点位名称")
    @TableField("POINTNAME")
    private String pointname;

    @ApiModelProperty(value = "所属区域")
    @TableField("ZONE")
    private String zone;

    @ApiModelProperty(value = "点位编号")
    @TableField("POINTNO")
    private String pointno;

    @ApiModelProperty(value = "安装地址")
    @TableField("INSTALLADDRESS")
    private String installaddress;

    @ApiModelProperty(value = "异常说明")
    @TableField("EXCEPTION")
    private String exception;

    @ApiModelProperty(value = "计划完成时间")
    @TableField("PLANCOMPLETETIME")
    private String plancompletetime;

    @ApiModelProperty(value = "派单人")
    @TableField("SENDPERSON")
    private String sendperson;

    @ApiModelProperty(value = "工单路径")
    @TableField("ROUTE")
    private String route;

    @ApiModelProperty(value = "工单创建时间")
    @TableField("CREATTIME")
    private String creattime;

    @ApiModelProperty(value = "完成情况")
    @TableField("FINISHSTATE")
    private String finishstate;

    @ApiModelProperty(value = "照片")
    @TableField("PHOTO")
    private String photo;

    @ApiModelProperty(value = "处理结果")
    @TableField("RESULT")
    private String result;

    @ApiModelProperty(value = "备注")
    @TableField("REMARKS")
    private String remarks;

    @ApiModelProperty(value = "下派的巡检员ID")
    @TableField("BYZD1")
    private String byzd1;

    @ApiModelProperty(value = "是否退回（0代表未退回，1代表退回过）")
    @TableField("BYZD2")
    private String byzd2;

    @ApiModelProperty(value = "案件状态（0代表已派单 1代表已处理 2代表已结案 ）")
    @TableField("BYZD3")
    private String byzd3;

    @ApiModelProperty(value = "备用字段4")
    @TableField("BYZD4")
    private String byzd4;

    @ApiModelProperty(value = "备用字段5")
    @TableField("BYZD5")
    private String byzd5;

    @ApiModelProperty(value = "备用字段6")
    @TableField("BYZD6")
    private String byzd6;

    @ApiModelProperty(value = "备用字段7")
    @TableField("BYZD7")
    private String byzd7;

    @ApiModelProperty(value = "备用字段8")
    @TableField("BYZD8")
    private String byzd8;

    @ApiModelProperty(value = "备用字段9")
    @TableField("BYZD9")
    private String byzd9;

    @ApiModelProperty(value = "备用字段10")
    @TableField("BYZD10")
    private String byzd10;


}
